package com.xinzhidi.web.plot.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.enums.DictTypeEnum;
import com.xinzhidi.web.custommodel.domain.CustomModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * 小区ListVo对象 c_plot
 *
 * @author ruoyi
 * @date 2023-05-19
 */
@ApiModel(value = "小区ListVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class CPlotListVo {
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "小区名称")
    @Excel(name = "小区名称")
    private String parkName;

    @ApiModelProperty(value = "详细地址")
    @Excel(name = "详细地址")
    private String address;

    @ApiModelProperty(value = "调控方法（1：手动调控  2：自动调控）")
    @Excel(name = "调控方法", readConverterExp = "1=：手动调控,2=：自动调控")
    private String regulationMethod;

    @ApiModelProperty(value = "楼栋数")
    @Excel(name = "楼栋数")
    private Long buildNumber;

    @ApiModelProperty(value = "热计量方式")
    @Excel(name = "热计量方式",dictType = DictTypeEnum.SYS_HEAT_METER)
    private String heatMeter;

    @ApiModelProperty(value = "供热用户")
    @Excel(name = "供热用户")
    private Integer heatUser;

    @ApiModelProperty(value = "供热面积")
    @Excel(name = "供热面积")
    private BigDecimal heatArea;

    @ApiModelProperty(value = "面积单价")
    @Excel(name = "面积单价")
    private BigDecimal areaPrice;

    @ApiModelProperty(value = "热量单价")
    @Excel(name = "热量单价")
    private BigDecimal heatPrice;

    @ApiModelProperty(value = "所属物业")
    @Excel(name = "所属物业")
    private String ownProperty;

    @ApiModelProperty(value = "模型id集合")
    private String modelIds;

    @ApiModelProperty(value = "锁定标识（0：未锁定  1：已锁定  默认0）")
    private Integer lockStatus;

    @ApiModelProperty(value = "供热公司")
    @Excel(name = "供热公司")
    private String heatCompany;

    @ApiModelProperty(value = "模型")
    private List<CustomModel> customModels;

    @ApiModelProperty(value = "省code")
    private String province;

    @ApiModelProperty(value = "省")
    @Excel(name = "省")
    private String provinceName;

    @ApiModelProperty(value = "市code")
    private String city;

    @ApiModelProperty(value = "市")
    @Excel(name = "市")
    private String cityName;

    @ApiModelProperty(value = "区/县code")
    private String area;

    @ApiModelProperty(value = "区/县")
    @Excel(name = "区/县")
    private String areaName;

    @ApiModelProperty(value = "创建者")
    private String createName;

    @ApiModelProperty(value = "更新者")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateName;

    @ApiModelProperty(value = "自动抄表时间间隔（单位：小时）")
    private Integer intervalTime;


}
